<template>
    <container type="top-header" class="g-width100 g-height100" header-style="height:auto;" main-style="padding:0;">
        <Table slot="main"
               ref="table"
               :columns="columns"
               data="/uservacationsum/my/list"
               :showToolbarSearch="false"
        ></Table>
    </container>
</template>

<script>
    import Container from '../../../../common-util/src/components/page/Container.vue'
    import Table from '../../../../common-util/src/components/page/Table.vue'

    export default {
        components:{
            Table,
            Container
        },
        data(){
            return {
                formItems:[
                    {
                        element:{
                            type: 'button',
                            button:[
                                {
                                    action: 'submit',
                                    requestMethod:'get',
                                    url: this.$baseURL.attend +  '/attend/uservacationsum/my/list',
                                    label: '查询'
                                }
                            ]
                        }
                    }
                ],
                columns:[
                    {
                        prop: 'vacationName',
                        label:'假期名称'
                    },
                    {
                        prop: 'leaveSum',
                        label:'假期余额分钟数'
                    },
                    {
                        prop: 'remark',
                        label:'备注'
                    },
                ]
            }
        }
    }
</script>

<style scoped>

</style>